package com.tandashi.springbootstudy01.service.strategy.service.impl;

import com.tandashi.springbootstudy01.service.strategy.dto.Order;
import com.tandashi.springbootstudy01.service.strategy.service.BaseOrderProcessStrategy;
import org.springframework.stereotype.Component;

@Component
public class GroupOrderProcessStrategy extends BaseOrderProcessStrategy {
    @Override
    protected void doProcess(Order order) {
        System.out.println("团购订单处理逻辑");
    }

    @Override
    public String getType() {
        return "group";
    }
}
